#include <iostream>

using namespace std;

struct Base {
	virtual char GetID() = 0;
	virtual int GetSize() = 0;
};

struct Node : public Base {
	char ID = 1;
	char Name[32];
	char GetID() {
		return ID;
	}
	int GetSize() {
		return sizeof(Node);
	}
};

int main() {
	
	Node node;
	Base* b = new Node();

	cout << sizeof(node) << endl;
	cout << (int)b->GetID() << endl;
	cout << b->GetSize() << endl;

	return 0;
}